package cn.vendpay.com.service;

import cn.vendcommon.com.entity.User;
import io.minio.errors.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

public interface MinioService {

    /**
     * 上传视频
     */
    public String uploadVideo(MultipartFile file, int userId, int machineId) throws Exception ;
}
